package com.heima.model.user.vos;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
@HeadRowHeight(value = 35) // 表头行高
@ContentRowHeight(value = 25) // 内容行高
@ColumnWidth(value = 30) // 列宽
public class ApUserVO {

    @ExcelProperty(value = {"盐"},index = 4)
    @TableField("salt")
    private String salt;
    /**
     * 用户名
     */
    @ExcelProperty(value = {"用户名称"},index = 1)
    @TableField("name")
    private String name;
    /**
     * 密码,md5加密
     */
    @ExcelProperty(value = {"用户密码"},index = 5)
    @TableField("password")
    private String password;

    /**
     * 手机号
     */
    @ExcelProperty(value = {"手机号"},index = 0)
    @TableField("phone")
    private String phone;

    /**
     * 0 男
     1 女
     2 未知
     */
    @ExcelProperty(value = {"用户性别"},index = 3)
    @TableField("sex")
    private String sex;


}
